﻿@using KRM.Core
@model tblHRDepartment
@{
    Layout = null;
}
        <form action="/Department/edit" method="POST" class="form-horizontal">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h4>Edit Department</h4>
        </div>
            <div class="modal-body">
                <div class="row-fluid">
                    <input type="hidden" name="ID" value="@Model.Id"/>
                    <div class="form-group">
                        <div class="col-md-3">Name</div>
                        <div class="col-md-8">
                            <input type="text" class="form-control" name="DepartmentName" required="required" value="@Model.DepartmentName" />
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-3">Description</div>
                        <div class="col-md-8">
                            <input type="text" class="form-control" name="DepartmentDescription" required="required" value="@Model.DepartmentDescription" />
                        </div>
                        </div>                  
                    <div class="form-group">
                        <div class="col-md-3">Image</div>
                        <div class="col-md-8">
                            <input type="text" class="form-control" name="DepartmentImage"  value="@Model.DepartmentImage" />
                        </div>
                    </div>
                </div>
            </div>


<div class="modal-footer">
    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
    <input type="submit" class="btn blue" style="padding: 8px 30px;" value="Save"/>
</div>
</form>

